package com.zmj.sy.mom.srv.aps.bean.dto.mes;


import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.List;

@Getter
@Setter
public class MesOrderDataAssemblyReqDto {

    @JacksonXmlProperty(localName = "AssemblyName")
    private String assemblyName;

    @JacksonXmlProperty(localName = "WorkChain")
    private String workChain;

    @JacksonXmlProperty(localName = "PartCount")
    private String partCount;

    @JacksonXmlProperty(localName = "Info")
    private String info;

    @JacksonXmlProperty(localName = "Drawing")
    private String drawing;

    @JacksonXmlProperty(localName = "Weight")
    private BigDecimal weight;

    @JacksonXmlProperty(localName = "PLMID")
    private String plmId;

    @JacksonXmlProperty(localName = "ERPID")
    private String erpId;

    @JacksonXmlProperty(localName = "ConstructNo")
    private String constructNo;

    @JacksonXmlProperty(localName = "ConstructOrderNo")
    private String constructOrderNo;

    @JacksonXmlProperty(localName = "AssemblyPath")
    private String assemblyPath;

    @JacksonXmlProperty(localName = "Assembly")
    @JacksonXmlElementWrapper(useWrapping = false)
    private List<MesOrderDataAssemblyReqDto> assembly;

    @JacksonXmlProperty(localName="WorkDetails")
    @JacksonXmlElementWrapper(useWrapping = false)
    private List<MesOrderDataWorkDetailReqDto> workDetails;


    @JacksonXmlProperty(localName = "Platepart")
    @JacksonXmlElementWrapper(useWrapping = false)
    private List<MesOrderDataPlatepartReqDto> platepart;

    @JacksonXmlProperty(localName = "Component")
    @JacksonXmlElementWrapper(useWrapping = false)
    private List<MesOrderDataComponentReqDto> component;

}
